package com.night.icm.service.base.service.comprehensive_test;

import com.night.icm.model.base.comprehensive_test.AcademicPointDTO;
import com.night.icm.persistence.base.entity.comprehensive_test.AcademicPoint;
import com.night.icm.persistence.base.entity.comprehensive_test.ComprehensiveScore;

/**
 * AcademicPointService
 *
 * @author Liao ZhiYong
 * @date 2020/3/10
 */
public interface AcademicPointService {

    /**
     * 新建学业分
     *
     * @param academicPointDTO   学业分
     * @param comprehensiveScore 综合分
     * @return 学业分
     */
    AcademicPoint create(AcademicPointDTO academicPointDTO, ComprehensiveScore comprehensiveScore);

    /**
     * 更新学业分及其附件
     *
     * @param academicPointDTO   学业分
     * @param comprehensiveScore 综合分
     * @return 学业分
     */
    AcademicPoint update(AcademicPointDTO academicPointDTO, ComprehensiveScore comprehensiveScore);
}
